-- GENERATED SPELL FOR [Gul'dan] --


function spell0_17008(pUnit, Event) --@Gul\'dan Channel,Self--
pUnit:FullCastSpellOnTarget(35996,pUnit)
pUnit:RegisterEvent('Sorts_17008', 517, 1)
end

function Sorts_17008(pUnit, Event)
local choix_sorts_17008 = math.random(0, 0)
if choix_sorts_17008 == 0 then
pUnit:RegisterEvent('spell0_17008', 1, 1)
end
end

function mob17008_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17008', math.random(1500, 3000), 1)
end

function mob17008_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17008_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17008_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17008, 1, 'mob17008_Action')
RegisterUnitEvent(17008, 2, 'mob17008_Leave')
RegisterUnitEvent(17008, 3, 'mob17008_Kill')
RegisterUnitEvent(17008, 4, 'mob17008_Die')
